package com.hsxxherp.key.support.i18n.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hsxxherp.key.support.i18n.model.entity.I18nResource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface I18nResourceMapper extends BaseMapper<I18nResource> {
    I18nResource selectByLocaleCodeAndResourceCode(@Param("resourceCode") String resourceCode, @Param("localeCode") String localeCode);
    List<I18nResource> selectAllResources();
}